package org.fanpeng.demo.design.cuisine.Impl;

import org.fanpeng.demo.design.cook.ICook;
import org.fanpeng.demo.design.cuisine.ICuisine;

/**
 * className: SiChuanCuisine
 * Description: 四川（川菜）
 * date: 2021/9/9 11:02
 *
 * @author fanpeng
 * @version 1.0
 */
public class SiChuanCuisine implements ICuisine {

    private ICook iCook;

    @Override
    public void cook() {
        iCook.doCooking();
    }

    public SiChuanCuisine(ICook iCook) {
        this.iCook = iCook;
    }
}
